import hdc_utils


def main():
    devices = hdc_utils.command_devices()
    for device in devices:
        hdc_utils.command_reboot(device)

    hdc_utils.timestamp("reboot devices finished")


if __name__ == "__main__":
    main()
